import  requests
url = 'https://www.baidu.com'
response = requests.get(url)  #  encoding = utf-8
print(response.text)